package com.situ.studentmanagement.dao;

import com.situ.studentmanagement.model.CheckLog;

import java.util.Date;
import java.util.List;

/**
 * Created by niugao on 7/5/2016.
 */
public interface CheckInfoMapper {
    //获取并返回一个月内的某人的考勤信息
    List<CheckLog> getCheckLogForOneMonth(int student_id, String startDate,String endDate);


    List<CheckLog> getCheckinById(int student_id);

    List<CheckLog> getCheckoutById(int student_id);

    int getCheckinId(String date);


    Date getCheckoutTimeById(int checkinId);
}
